Optimal. Leaf size=62 \[ -\frac {\left (a^2-b^2 x^2\right )^{1+p} \, _2F_1\left (1,-1+2 p;-1+p;\frac {a+b x}{2 a}\right )}{2 a b (2-p) (a+b x)^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 73, normalized size of antiderivative = 1.18, number of steps
used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {692, 71}
\begin {gather*} -\frac {2^{p-3} \left (\frac {b x}{a}+1\right )^{-p-1} \left (a^2-b^2 x^2\right )^{p+1} \, _2F_1\left (3-p,p+1;p+2;\frac {a-b x}{2 a}\right )}{a^4 b (p+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 71
Rule 692
Rubi steps
\begin {align*} \int \frac {\left (a^2-b^2 x^2\right )^p}{(a+b x)^3} \, dx &=\frac {\left ((a-b x)^{-1-p} \left (1+\frac {b x}{a}\right )^{-1-p} \left (a^2-b^2 x^2\right )^{1+p}\right ) \int (a-b x)^p \left (1+\frac {b x}{a}\right )^{-3+p} \, dx}{a^4}\\ &=-\frac {2^{-3+p} \left (1+\frac {b x}{a}\right )^{-1-p} \left (a^2-b^2 x^2\right )^{1+p} \, _2F_1\left (3-p,1+p;2+p;\frac {a-b x}{2 a}\right )}{a^4 b (1+p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.23, size = 75, normalized size = 1.21 \begin {gather*} -\frac {2^{-3+p} (a-b x) \left (1+\frac {b x}{a}\right )^{-p} \left (a^2-b^2 x^2\right )^p \, _2F_1\left (3-p,1+p;2+p;\frac {a-b x}{2 a}\right )}{a^3 b (1+p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.19, size = 0, normalized size = 0.00 \[\int \frac {\left (-b^{2} x^{2}+a^{2}\right )^{p}}{\left (b x +a \right )^{3}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (- \left (- a + b x\right ) \left (a + b x\right )\right )^{p}}{\left (a + b x\right )^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (a^2-b^2\,x^2\right )}^p}{{\left (a+b\,x\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________